package com.yunxin.core.infra.persistence.mapper.contact;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.contact.ContactMessageSendSmsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zero°
 * @since 2023-06-04
 */
@DS("core")
@Mapper
public interface ContactMessageSendSmsExtendMapper extends ContactMessageSendSmsMapper {

    /**
     * 根据流水号获取短信发送记录
     * @param serialNo serialNo
     * @return ContactMessageSendSms
     */
    ContactMessageSendSmsDO getContactMessageSendSmsBySerialNo(@Param("serialNo") String serialNo);
}
